package com.eastjet.maintenance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eastjet.maintenance.domain.EquipmentDisposal;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @author 杨博文
 * @description 针对表【equipment_disposal(设备处置)】的数据库操作Service
 * @createDate 2024-11-25 09:23:38
 */
public interface EquipmentDisposalService extends IService<EquipmentDisposal> {

    /*
     * 插入设备处置信息
     */
    @Transactional(rollbackFor = Exception.class)
    Boolean InsertEquipmentDisposal(Map<String, Object> map);

    /*
    修改设备处置信息
     */
    @Transactional(rollbackFor = Exception.class)
    Boolean UpdateEquipmentDisposal(List<EquipmentDisposal> equipmentDisposal);

    /*
    删除设备处置信息
     */
    @Transactional(rollbackFor = Exception.class)
    Boolean DeleteEquipmentDisposal(List<EquipmentDisposal> equipmentDisposal);

    /*
     * 查询设备处置信息
     */
    List<EquipmentDisposal> SelectEquipmentDisposal(EquipmentDisposal equipmentDisposal);

}
